package ace.tool.generate.code.impl.resolver.scheme.model.bo.api;

import ace.tool.generate.code.impl.resolver.scheme.model.dto.ClassFileInfo;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2023/11/17 10:27
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DtoClassInfo {
  /**
   * 实体模型id
   */
  private String entityModelId;

  /**
   * dto class 文件信息
   */
  private ClassFileInfo info;

  /**
   * 表名
   */
  private String tableName;

  /**
   * dto class 字段
   */
  private List<DtoClassFieldInfo> fieldInfos;

  /**
   * dto类是否输出注释
   */
  @Builder.Default
  private Boolean outputDtoRemarkFlag = Boolean.FALSE;
}
